/* Copyright (c) 2004-2024 Peigen.info. All rights reserved. */

package info.peigen.hotpot.business.fee.facade.command.order.rule;

import info.peigen.hotpot.business.fee.facade.enums.FeeMethod;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.*;
import lombok.experimental.Accessors;
import lombok.experimental.FieldDefaults;
import lombok.experimental.SuperBuilder;

/**
 * <b>(FeeRuleModifyOrder)</b>
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2022/6/1
 */
@EqualsAndHashCode(callSuper = true)
@SuperBuilder
@Data
@NoArgsConstructor
@AllArgsConstructor
@FieldDefaults(level = AccessLevel.PRIVATE)
@Accessors(chain = true)
public class FeeRuleModifyOrder extends FeeRuleBaseOrder {
    /** 修改哪个规则 */
    @NotEmpty
    String    ruleId;
    /** 收费方式 */
    @NotNull
    FeeMethod method;
    /** 收费规则具体内容 */
    @NotEmpty
    String    context;
    /** 被计费账户Id */
    String billingAccountId;
    /** 付费账户Id */
    String payerAccountId;
    /** 收费账户Id */
    String payeeAccountId;
    /** memo */
    String memo;
}
